# 打印所有的 cmake 变量
message(STATUS "打印所有的 cmake 变量")
get_cmake_property(_variableNames VARIABLES)
foreach (_variableName ${_variableNames})
    message(STATUS "${_variableName}=${${_variableName}}")
endforeach()

message(STATUS "执行命令 ${CMAKE_COMMAND} -E environment")
execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "environment")
